import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
import 'amfe-flexible'
import '../service-worker.js'
import 'vant/lib/index.less'

//vue router
import router from './router/index.js'

import { Form, Field, CellGroup, Button, Icon, Image as VanImage, Toast } from 'vant';
const app = createApp(App);
app.use(Form).use(Field).use(CellGroup).use(Button).use(Icon).use(VanImage).use(Toast);
app.use(router);
app.mount('#app')
